package com.wwj.utils;


import org.junit.Test;

import java.util.UUID;

@SuppressWarnings("all")   //抑制警告
public class IDUtils {
    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-", "");

    }

    @Test
    public  void getid(){
        System.out.println(getId());
        System.out.println(getId());
        System.out.println(getId());
    }




}
